package com.learn.micro_mall.service.request.goods;

import com.learn.micro_mall.service.request.BaseRequest;
import com.sun.istack.internal.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class GoodsCreateRequest extends BaseRequest {

    private static final long serialVersionUID = -5979458410391295169L;

    /**
     * 商品Id
     */
    private Long goodsId;

    /**
     * 品牌名
     */
    private String brandName;

    /**
     * 商品名
     */
    @NotNull
    private String goodsName;


    private GoodsCategoryCreateParamDTO goodsCategoryCreateParamDTO;

    /**
     * sku创建列表
     */
    private List<SkuCreateDTO> skuCreateDTOList;

    /**
     * 库存扣减配置
     */
    private StockReduceConfigDTO stockReduceConfig;

    /**
     * 商品购买限制配置
     */
    private GoodsBuyLimitConfigDTO goodsBuyLimitConfigDTO;

    /**
     * 退换货配置
     */
    private ExchangeAndRefundGoodsConfigDTO exchangeAndRefundGoodsConfigDTO;

    /**
     * 会员相关配置
     */
    private MemberPriceConfigDTO memberPriceConfigDTO;

    /**
     * 物流价格相关配置
     */
    private LogisticsConfigurationDTO logisticsConfigurationDTO;
}
